package com.yxhl.km.module.entity;

/**
 * Created by 张亚楠 on 2018/7/6.
 */

public class EventBean<T> {
    private String type;
    private T t;

    public EventBean(String type, T t) {
        this.type = type;
        this.t = t;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    @Override
    public String toString() {
        return "EventBean{" +
                "type='" + type + '\'' +
                ", t=" + t +
                '}';
    }
}
